package com.caocaog.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.ShopDelivery;
import com.caocaog.market.entity.ShopDeliveryHis;
import com.caocaog.market.vo.ShopDeliveryVO;

/**
 * 店铺配送管理历史
 *
 * @author chechen
 * @date 2021-11-30
 */
public interface ShopDeliveryHisService extends IService<ShopDeliveryHis> {

    ShopDeliveryVO queryById(Long id);

    ShopDeliveryVO queryByShopId(String shopId);

    ShopDeliveryVO queryByDeliveryId(Long deliveryId);

    String getCurrentLatestHisId(String deliveryId);

    String addShopDeliveryHis(ShopDeliveryHis shopDeliveryHis);

}
